// 导入拦截器内容
import request from '@/utils/request'
export const ArticleList = (data) => {
  return request.get('/home/swiper', {
    params: {
      current: data.current,
      pageSize: data.pageSize
    }
  })
}
// 获取轮播图
export const getLbt = () => {
  return request.get('/home/swiper', {})
}
// 获取城市列表
export const City = (data) => {
  return request.get('area/city?level=1', {
    data
  })
}
// 获取收藏列表
export const MyLike = () => {
  return request.get('/user/favorites')
}
// 获取房源
export const Myhouse = () => {
  return request.get('user/houses')
}
// 获取租房小组
export const Zfxz = (data) => {
  return request.get('home/groups?area=AREA%7C88cff55c-aaa4-e2e0', {
    data
  })
}
// 获取热门城市
export const HostCity = () => {
  return request.get('area/hot')
}
// 获取发布房源信息
export const Params = () => {
  return request.get('houses/params')
}
// 筛选区域
export const Area = (id) => {
  return request.get(`area/map/${id}`)
}
// 获取房屋列表
export const Admin = () => {
  return request.get('admin/houses')
}
